<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="view/question/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="view/question/myjs/question.js"></script> 
<title><s:text name="login"/></title>


</head>
<body>

<form action="findUsr_userByNameAndPass.action" method="post">
<p>username:<input type="text" name="usr_user.username" id="username"/></p>
<p>password:<input type="password" name="usr_user.password" id="password"/></p>
<p>
<input type="text" name="jsonData.jsonData" size="6" value="" maxlength="6" id="verifycode"/> 
<a href="javascript:void(0);"  onclick="refreshVerifyCode()" ><img src="view/user/verifycode.jsp"  title="refresh" style="border:0;cursor:hand" id="ref"/></a>
</p>

<input  type="button" value="submit" onclick="login()"/><a href="view/user/addUsrUser.jsp"><s:text name="register"/></a>
</form>

</body>
</html>